package com.it.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * 库存实体类
 */
@Data
@TableName("gm_inventory")
public class Inventory implements Serializable {
    /**
     * 自增长主键
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * 药品id
     */
    private String productId;
    /**
     * 药品编号
     */
    private String productUuId;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 已销
     */
    private Integer sale;
    /**
     * 单价
     */
    private Float unitPrice;
    /**
     * 合计
     */
    private Float zumPrice;
}